#pragma once
#include <set>
#include <memory>

#include <osg/Vec2d>

#include "Op.h"

class OpRotatePrivate;
class INode;
class OpRotate : public Op
{
public:
	OpRotate(const std::set<std::shared_ptr<INode>>& children,const double angle, const osg::Vec2d& basePoint, QUndoCommand *outer = nullptr);
	~OpRotate();

	virtual void redo() override;
	virtual void undo() override;

protected:
	OpRotatePrivate* d_ptr;
};